<table class="entity-table">
    <tr>
        <th width="40%">Period</th>
        <th width="30%">Lokacija</th>
        <th>Klijent</th>
    </tr>
    <? foreach($data as $row): ?>
    <tr>
        <td><?= $this->Html->link(
            date_local($row['CampaignsLocation']['start']) ." - " .
            date_local($row['CampaignsLocation']['end']),
            '/campaigns/edit/' . $row['Campaign']['id']
        ) ?></td>
        <td><?= $row['Location']['name'] ?></td>
        <td><?= $this->Html->link(
            $row['Client']['name'],
            '/clients/edit/' . $row['Client']['id']
        ) ?></td>
    </tr>
    <? endforeach ?>
</table>
